package com.beecloud.microservice.user.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "订单信息")
public class OrderDTO {
    @ApiModelProperty(value = "订单号")
    private String orderId;
    @ApiModelProperty(value = "租车人id")
    private String renterId;
    @ApiModelProperty(value = "租车人名称")
    private String renterName;
    @ApiModelProperty(value = "汽车编号")
    private String carId;
    @ApiModelProperty(value = "订单开始时间")
    private long startTime;
    @ApiModelProperty(value = "订单结束时间")
    private long endTime;
    @ApiModelProperty(value = "行驶里程数")
    private double mileage;
    @ApiModelProperty(value = "订单金额")
    private double money;
    @ApiModelProperty(value = "出发点经度")
    private double startingLongitude;
    @ApiModelProperty(value = "出发点纬度")
    private double startingLatitude;
    @ApiModelProperty(value = "订单状态")
    private String status;

    public OrderDTO(String orderId, String renterId, String renterName, String carId, long startTime, long endTime, double mileage, double money, double startingLongitude, double startingLatitude, String status) {
        this.orderId = orderId;
        this.renterId = renterId;
        this.renterName = renterName;
        this.carId = carId;
        this.startTime = startTime;
        this.endTime = endTime;
        this.mileage = mileage;
        this.money = money;
        this.startingLongitude = startingLongitude;
        this.startingLatitude = startingLatitude;
        this.status = status;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getRenterId() {
        return renterId;
    }

    public void setRenterId(String renterId) {
        this.renterId = renterId;
    }

    public String getRenterName() {
        return renterName;
    }

    public void setRenterName(String renterName) {
        this.renterName = renterName;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public double getMileage() {
        return mileage;
    }

    public void setMileage(double mileage) {
        this.mileage = mileage;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public double getStartingLongitude() {
        return startingLongitude;
    }

    public void setStartingLongitude(double startingLongitude) {
        this.startingLongitude = startingLongitude;
    }

    public double getStartingLatitude() {
        return startingLatitude;
    }

    public void setStartingLatitude(double startingLatitude) {
        this.startingLatitude = startingLatitude;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
